package com.txby.platform.data;

import com.txby.platform.entity.WrSysApiUser;

import lombok.Data;


/**
 * 
 * @author jacking
 *
 */
@Data
public class WrSysApiUserData  extends WrSysApiUser{
	
	//private  long id_=444;//_id autocrement
//	@JSONField(name="project_id")
//	private String project="okid";
//	@JSONField(name="my_id")
//	private String id;
	
/*	public static void main(String[] args) throws IllegalAccessException, InvocationTargetException {
		WrSysApiUserData o=new WrSysApiUserData();
//		BeanUtils.copyProperty(o, "id", "testId");
		System.out.println(JSON.toJSON(o));
		System.out.println(o.getId());
		   List<Field> fields = new ArrayList<>() ;
	        List<String> columnList = new ArrayList<String>(fields.size());  
	        Class tempClass =o.getClass();
	        Map<String,Class> fieldAllAnnotation = new HashMap();
	        while (tempClass != null&&!tempClass.getName().toLowerCase().equals("java.lang.object")) {//当父类为null的时候说明到达了最上层的父类(Object类).
	        	Field fd[]=tempClass .getDeclaredFields();
	        	fields.addAll(Arrays.asList(fd));
	        	tempClass = tempClass.getSuperclass(); //得到父类,然后赋给自己
	        	for(Field field : fd){
	        	}
	        }
		
		  for(Field f : fields) { 
			  System.out.println(f.getName());
		  }
		 
	}*/

	

}
